<!DOCTYPE html>
<html>
<head>
	<title>订单备注</title>
	<include file='public/head'>
	<style>
		.layui-legend-size{font-size:14px !important;}
		.layui-nopadding{padding:0 !important;}
		.layui-overflow{overflow:auto;}
		.layui-nomargin{margin: 0 !important;}
		.layui-bottom{border-bottom:1px solid rgb(226, 226, 226);}
		.layui-input{height:30px !important; }
		.layui-form-search-item .layui-inline{margin-bottom: 5px;} 
		.layui-form-search-item label{margin-left: 15px;}
		.layui-table-page {padding: 7px 0px 0px;}
		.layui-field-padding{border-width: 1px;padding:0 0 5px 10px;}
	</style>		
</head>
<body>

<textarea name="remark" id="remark" rows="15" placeholder="请输入内容" class="layui-textarea"></textarea>


	<include file='public/scripts'>
<script type="text/javascript">

	function tijiao(){
		data = {};
		data['remark'] = $('#remark').val();
		data['order_num'] = '{$order_num}';
		//提交
		$.ajax({
			url:"{:cmf_plugin_url('order://admin_index/orderRemark')}",
			data: data,
			type:'post',
			success:function(data){
				if (data.code == 1) {
					layer.msg(data.msg,{icon:1,time:1500},function(){
						parent.layer.closeAll();
						parent.location.reload(); 
					});
				} else {
					layer.msg(data.msg,{icon:2,time:1500});
				}
			},
			error:function()
			{
				layer.msg('系统错误',{icon:2,time:1500});
			}
		})
	}	

</script>
</body>
</html>		